<?php

namespace App\Dao;

use App\Exceptions\SysExceptions;
use App\Services\SmsServices;

class CommonDao extends BaseDao
{
    /**
     * @throws SysExceptions
     */
    public static function sms_send($params = [])
    {
        checkForData(['phone'],['请输入手机号'],$params);
        SmsServices::send($params);
    }
}
